<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .main {
            display: grid;
            background-color: #1abe9c;
            /* grid-template-columns: 100px 1fr 100px; */
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            grid-template-rows: 100px;
            grid-auto-rows: 100px;
            row-gap: 20px;
            column-gap: 30px;
            /* grid-template-columns: 100px repeat(2, 100px); */
            /* grid-template-columns: repeat(auto-fill, 100px); */
            /* grid-template-rows: 100px; */
            /* place-content: end center; */
            /* grid-auto-flow: row;
            grid-auto-rows: 100px; */
            /* 行隐世网格 */
        }

        .main div {
            background-color: skyblue;
            border: 1px black solid;
        }

        .main div:nth-of-type(1) {
            background-color: skyblue;
            border: 1px black solid;
            /* grid-column-start: 2;
            grid-column-end: span 2; */
            /* grid-row-start: 2;
            grid-row-end: 4; */
        }

        .main div:nth-of-type(2) {
            background-color: black;
        }

        .main div:nth-of-type(3) {
            background-color: #f07373;
        }

        /* .main div:nth-of-type(1) {
            grid-area: a1;
        }

        .main div:nth-of-type(2) {
            grid-area: a2;
        }

        .main div:nth-of-type(3) {
            grid-area: a3;
        } */

        .left {
            display: grid;
            grid-template-rows: repeat(3, minmax(30px, 50px));
            box-shadow: 0 0 5px 2px #4f545f;
        }

        .item {
            font-size: 2em;
            text-align: center;
            border: 1px solid #1abe9c;
        }
    </style>
</head>

<body>
    <div class="main">
        <div>1</div>
        <div>2</div>
        <div>3</div>
        <div>4</div>
        <div>5</div>
        <div>6</div>
        <div>7</div>
        <div>8</div>
        <div>10</div>
        <div>11</div>
        <div>12</div>
        <div>13</div>
    </div>
</body>

</html>